import React from 'react'
import "animate.css";
import ReactCSSTransitionGroup from "react-addons-css-transition-group";
class Transition extends React.Component {
    constructor(props: any){
        super(props);
    }
    state = {
      transition: 'animate_lightSpeedIn'
    }
    render(){
        return(
            <div>
                <ReactCSSTransitionGroup
                    transitionEnter={true}
                    transitionLeave={true}
                    transitionEnterTimeout={2500}
                    transitionLeaveTimeout={1500}
                    transitionName="animate_animated"
                >
                    <div className={`animate_animated ${this.state.transition} logo`}>aasdasdasdasd</div>
                </ReactCSSTransitionGroup>
            </div>
        )
    }
}
export default Transition;
